package com.movie.dao;

import com.movie.beans.Movie;
import com.movie.beans.Movies;
import com.movie.beans.Recommend;

import java.util.List;

public interface MovieDAO {

    List<Movie> selectMovieList();

    List<Movies> selectMoviesList();

    List<Movies> selectSearchMoviesList(String val);

    Movies getMoviesById(Long movieId);

    Recommend selectRecommend(Long userId);

    List<Movies> getMoviesBySearchVal(String searchVal);

    List<Movies> selectNewest10List();

    List<Movies> selectTop10RateList();

    int insertMovies(Movies movies);

    int deleteMoviesById(Movies movies);
}
